Skip to content

chore: add npm bugs metadata to all published packages#10954

Open
XananasX7 wants to merge 1 commit into
TanStack:mainfrom
XananasX7:fix/add-npm-bugs-metadata
Open

chore: add npm bugs metadata to all published packages#10954
XananasX7 wants to merge 1 commit into
TanStack:mainfrom
XananasX7:fix/add-npm-bugs-metadata

Conversation

@XananasX7

@XananasX7 XananasX7 commented Jun 15, 2026

Copy link
Copy Markdown

Summary

All @tanstack/query-* packages (24 published packages) are missing the bugs field in their npm metadata. This PR adds bugs.url pointing to the GitHub issue tracker.

Changes

Added to each published package's package.json:

"bugs": {
  "url": "https://github.com/TanStack/query/issues"
}

Verification

npm view @tanstack/react-query bugs  # currently empty
npm view @tanstack/query-core bugs    # currently empty
npm view @tanstack/vue-query bugs     # currently empty

No runtime code, dependencies, tests, or build configuration are changed. This is a metadata-only change.

Summary by CodeRabbit

  • Chores
    • Added standardized bug report URL references to all TanStack Query packages, making it easier for users to discover the GitHub issue tracker and report problems. Package configuration metadata was updated across all packages to ensure consistency and proper validation throughout the suite.

All @tanstack/query-* packages are missing the bugs field in their
npm metadata. This adds bugs.url pointing to the GitHub issue tracker
for all 24 published packages.
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8e209a7f-8a9f-4557-ba6c-a3dbce055b6a

📥 Commits

Reviewing files that changed from the base of the PR and between 86b949b and 4c72d7c.

📒 Files selected for processing (24)
  • packages/angular-query-experimental/package.json
  • packages/eslint-plugin-query/package.json
  • packages/lit-query/package.json
  • packages/preact-query-devtools/package.json
  • packages/preact-query-persist-client/package.json
  • packages/preact-query/package.json
  • packages/query-async-storage-persister/package.json
  • packages/query-broadcast-client-experimental/package.json
  • packages/query-core/package.json
  • packages/query-devtools/package.json
  • packages/query-persist-client-core/package.json
  • packages/query-sync-storage-persister/package.json
  • packages/react-query-devtools/package.json
  • packages/react-query-next-experimental/package.json
  • packages/react-query-persist-client/package.json
  • packages/react-query/package.json
  • packages/solid-query-devtools/package.json
  • packages/solid-query-persist-client/package.json
  • packages/solid-query/package.json
  • packages/svelte-query-devtools/package.json
  • packages/svelte-query-persist-client/package.json
  • packages/svelte-query/package.json
  • packages/vue-query-devtools/package.json
  • packages/vue-query/package.json

📝 Walkthrough

Walkthrough

A bugs metadata field with url: "https://github.com/TanStack/query/issues" is added to all 24 package.json files across the monorepo. Each change also ensures the preceding JSON block is properly closed before the new field.

Changes

bugs.url metadata across all packages

Layer / File(s) Summary
Add bugs.url to all package manifests
packages/angular-query-experimental/package.json, packages/eslint-plugin-query/package.json, packages/lit-query/package.json, packages/preact-query-devtools/package.json, packages/preact-query-persist-client/package.json, packages/preact-query/package.json, packages/query-async-storage-persister/package.json, packages/query-broadcast-client-experimental/package.json, packages/query-core/package.json, packages/query-devtools/package.json, packages/query-persist-client-core/package.json, packages/query-sync-storage-persister/package.json, packages/react-query-devtools/package.json, packages/react-query-next-experimental/package.json, packages/react-query-persist-client/package.json, packages/react-query/package.json, packages/solid-query-devtools/package.json, packages/solid-query-persist-client/package.json, packages/solid-query/package.json, packages/svelte-query-devtools/package.json, packages/svelte-query-persist-client/package.json, packages/svelte-query/package.json, packages/vue-query-devtools/package.json, packages/vue-query/package.json
Every package manifest receives a new top-level bugs object pointing to the shared GitHub issues tracker, with the preceding block (devDependencies, peerDependencies, publishConfig, or peerDependenciesMeta) properly terminated before the new field.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • TkDodo

Poem

🐇 Hop hop, across the repo I go,
Dropping bugs.url in every row!
From angular to vue, svelte to preact,
Each package.json is now fully intact.
Now devs know just where to file their woes —
The rabbit has tidied all the JSON prose! 🥕

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is largely incomplete. It provides a clear summary and changes section, but is missing the required checklist items (Contributing guide confirmation and test execution confirmation) and the Release Impact section from the template. Add the complete checklist section with checkboxes for Contributing guide compliance and local testing with 'pnpm run test:pr', plus confirm Release Impact status (docs/CI/dev-only vs. changeset needed).
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding npm bugs metadata to all published packages, which is clearly reflected in the 24 package.json files modified.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant